<?php /* Smarty version Smarty3Alpha, created on 2008-12-15 14:40:08
         compiled from "D:\web\spo/app/backend/template/main.tpl" */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>

<head>
<title><?php echo $_smarty_tpl->getVariable('currentPage')->value->getTitle();?>
</title>
<meta http-equiv="Content-type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('fvConfig')->value->get('charset');?>
" />
<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('currentPage')->value->getKeyWords();?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->getVariable('currentPage')->value->getDescription();?>
" />

<?php  $_smarty_tpl->tpl_vars['Css'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('fvConfig')->value->get('includes.css'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['Css']->value){
?>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('Css')->value;?>
" />
<?php }} ?>

    
<?php  $_smarty_tpl->tpl_vars['Js'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('fvConfig')->value->get('includes.js'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['Js']->value){
?>
<SCRIPT type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('Js')->value;?>
"></SCRIPT>
<?php }} ?>
</head>

<body id="documentBody">
<div id="scrolobble">
    <div id="header">
        <?php echo $_smarty_tpl->smarty->function->show_module(array('module'=>'menu','view'=>'mainMenu'),$_smarty_tpl->smarty);?>       
        
        <div style="clear: both;"></div>
        <div id="actionmessage"></div>

	    <?php if ($_smarty_tpl->getVariable('fvConfig')->value->get('access.enable')): ?>
	        <?php $_smarty_tpl->assign('LoggedManager',$_smarty_tpl->getVariable('currentPage')->value->getLoggedUser(),null,null);?>
	        <div id="hello" class="text"><?php if ($_smarty_tpl->getVariable('LoggedManager')->value): ?>добро пожаловать <B><?php echo $_smarty_tpl->getVariable('LoggedManager')->value->get('full_name');?>
</B> [<a href="<?php echo $_smarty_tpl->smarty->modifier->urlto($_smarty_tpl->getVariable('fvConfig')->value->get('access.do_logout'));?>
">выйти</a>]<?php endif;?></div>
	    <?php endif;?>
    </div>
    
    <div id="content">
        <?php echo $_smarty_tpl->getVariable('currentPage')->value->getPageContent();?>

    </div>
    <img id="contentblocker" src="<?php echo $_smarty_tpl->getVariable('fvConfig')->value->get('dir_web_root');?>
img/x-gray.png" style="display: none;">
</div>
</body>

</html>